import request from "@/utils/request";

// 资讯获取
export function getListIn(data) {
  return request({
    url: "/information/info",
    method: "GET",
    params:data,
  });
}
// 资讯增加
export function informationsubmit(data) {
  return request({
    url: "/information/add",
    method: "POST",
    data,
  });
}
// 资讯修改
export function informationrevise(data) {
  return request({
    url: "/information/update",
    method: "POST",
    data,
  });
}
// 资讯删除
export function deleteUser(data) {
  return request({
    url: "/information/delete",
    method: "DELETE",
    params:data
  });
}
// 评论获取
export function comments(data) {
  return request({
    url: "/information/comment/info",
    method: "GET",
    params:data,
  });
}
// 评论删除
export function deleComment(data) {
  return request({
    url: "/information/comment/deleteComment",
    method: "DELETE",
    params:data
  });
}

